package com.bwie.goods.mapper;

import com.bwie.common.domain.PurchaseRecord;
import com.bwie.common.domain.request.PurchaseRecordRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PurchaseRecordMapper {


    List<PurchaseRecord> list(@Param("purchaseRecordRequest") PurchaseRecordRequest purchaseRecordRequest, @Param("roleId") Integer roleId, @Param("userId") Integer userId);

    PurchaseRecord findById(@Param("id") Integer id);
}
